package com.ruoyi.religion.sdk;

import org.springframework.stereotype.Component;

import javax.annotation.PreDestroy;

import static com.ruoyi.religion.sdk.NetDemo.netdevsdk;

@Component
public class Destroy{

//    @PreDestroy
    public void destroy() throws Exception {
        System.out.println(" 执行销毁前的操作 ");
        netdevsdk.NETDEV_Cleanup();
        System.out.println(" 销毁成功 ");
    }
}
